package com.ruoyi.web.customerInfo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;
/**
 * 客户信息(CustomerInfo)表实体类
 *
 */
@SuppressWarnings("serial")
@Data
public class CustomerInfo extends Model<CustomerInfo> {
@TableId(type = IdType.AUTO)

    private Integer id;
    //客户名
    private String username;
    //公司
    private String company;
    //电话
    private String phone;
    //地址
    private String address;
    //备注
    private String remark;
    //图片
    private String image;
    //标签
    private String tags;
    //创建时间
    private LocalDateTime createtime;
    //证件号
    private String idcard;
    //类型
    private String usertype;



    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

